﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Text;
using EmailConnection.Models;

namespace POP3Client
{
    public class POP3Client
    {
        
        static void Main(string[] args)
        {
            POP3 client = new POP3("", "");// 填上完整邮箱和授权码
            client.GetMailList();// 获取邮件列表
            client.DisplayList();// 将邮件信息展示出来
            //List<int> delList = new List<int> {}; // 删除的邮件的序号
            //client.DeleteList(delList);//删除指定邮件
        }
    }
}
